package com.renli.mapper;

import com.renli.pojo.Post;

import java.util.List;
import java.util.Map;

public interface PostMapper {
    int add(Post post);

    List<Map<String,Object>> findAll(Map<String,Object> map);

    int del(Integer postId);

    int update(Post post);

    Long findAllCount(Map<String, Object> map);
}
